#ifndef FILE_H
#define FILE_H

#include "list.h"

#include <string.h>

typedef struct 
{
  char fileName[256];
  int length;
  int pieceSize;
  list* seeders;
} file;

file* createFile(char* fileName, int length, int pieceSize);
void freeFile(file* f);

#endif
